package cn.mzcode.xyzpfuwuduan.dao;

import cn.mzcode.xyzpfuwuduan.pojo.Colletcion;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ColletcionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Colletcion record);

    int insertSelective(Colletcion record);

    Colletcion selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Colletcion record);

    int updateByPrimaryKey(Colletcion record);

    Colletcion selectBySidAndPid(@Param("studentId") int studentId, @Param("positionId") int positionId);

    void updateStatus(@Param("studentId") int studentId, @Param("positionId") int positionId);

    void updateStatus1(@Param("studentId") int studentId, @Param("positionId") int positionId);

    List<Colletcion> selectBystudentId(int studentId);
}